//
//  ActionHeader.swift
//  swiftProject
//
//  Created by ZhangSai on 2021/5/24.
//

import UIKit

//class ActionHeader: NSObject {
//
//}

struct ActionHeader {
    
    static let UserDefault_Token = "token";
    static let UserDefault_TokenHead = "tokenHead";
    static let UserDefault_Tokenrefresh = "tokenrefresh";
    static let UserDefault_TokenexpiryDuration = "expiryDuration";
    static let UserDefault_TokenexResTimer = "expiryDurationResTimer";

    static let UserDefault_TimerDifference = "difference_timer";

    static let UserDefault_NiceName = "nickName";
    static let UserDefault_Phone = "phone";
    static let UserDefault_AvatarPath = "avatarPath";
    static let UserDefault_Email = "email";
    static let UserDefault_Gender = "gender";
    static let UserDefault_UserType = "userType";
    static let UserDefault_RoleType = "roleType";
    static let UserDefault_UserId = "userId";
    static let UserDefault_UserName = "userName";
    static let UserDefault_PhoneCode = "phoneCode";

    static let UserDefault_StaffCode = "staffCode";
    static let UserDefault_CompanyCode = "companyCode";

    static let UserDefault_NotificationOrderNo = "notificationOrderNo";
    static let Order_orderOperation = "Order_orderOperation";
    static let Order_titleCount = "Order_titleCount";

    static let WLAutoLogin = "AutoLogin";
    static let WLSmsCountry = "SmsCountry";
    static let WLMyanmarArea = "MyanmarArea";
    static let WLloginAccount = "loginAccount";

    static let WLAliyunOSSTimer = "AliyunOSSTimer";
    static let WLAliyunOSSAccessKeyId = "OSSAccessKeyId";
    static let WLAliyunOSSAccessKeySecret = "OSSAccessKeySecret";
    static let WLAliyunOSSSecurityToken = "OSSSecurityToken";
    static let WLAliyunOSSExpiration = "OSSExpiration";
    static let WLAliyunOSSendpoint = "OSSendpoint";
    static let WLAliyunOSSbucketName = "OSSbucketName";
    //Action
    //登录
    static let Action_Login_UserAuthCode = "api/auth/getAuthCode";
    static let Action_Login_ResetPasswork = "api/auth/password/reset";
    static let Action_Login_ByAuthCode = "api/auth/loginByAuthCode";
    static let Action_Login_ByThird = "api/auth/loginByThirdParty";
    static let Action_Login_Password = "api/auth/login";
    static let Action_Login_phoneBind = "api/auth/bind";
    static let Action_Login_refreshToken = "api/auth/refreshToken";
    static let Action_Login_logout = "api/user/logout";

    //用户
    static let Action_User_info = "api/user/info";
    static let Action_User_SetPasswork = "api/user/password/set";
    static let Action_User_updateUserInfo = "api/user/updateUserInfo";

    //地址
    static let Action_Address_List = "api/address/getAddressByUser";
    static let Action_Address_delete = "api/address/deleteAddress";
    static let Action_Address_add = "api/address/addAddress";
    static let Action_Address_modify = "api/address/modifyAddress";
    static let Action_Address_Default = "api/address/setDefaultAddress";
    static let Action_Address_getDefault = "api/address/getDefaultAddress";
    static let Action_Address_CancelDefault = "api/address/cancelDefaultAddress";

    //配置
    static let Action_Config_getCountry = "api/configuration/getSmsCountry";
    static let Action_Config_getMyanmarArea = "api/configuration/getMyanmarArea";
    static let Action_Config_verifyArea = "api/configuration/recAndSendSupport";
    //计算基础运费
    static let Action_Config_calculateFreight = "api/configuration/calculateBaseFreight";
    static let Action_Config_getGoodsType = "api/configuration/getGoodsType";
    static let Action_Config_calculateWareFreight = "api/configuration/calculateWareFreight";
    static let Action_Config_calculateInsuredFreight = "api/configuration/calculateInsuredFreight";
    static let Action_Config_recAndSendSupport = "api/configuration/recAndSendSupport";
    static let Action_Config_getNetPoint = "api/configuration/getNetPoint";
    static let Action_Config_getCollectionScope = "api/configuration/getCollectionScope";
    static let Action_Config_getInsuredPlan = "api/configuration/getInsuredPlan";
    static let Action_Config_getPhoneList = "api/configuration/getPhoneList";
    static let Action_Config_getExpeditedPhone = "api/configuration/getExpeditedPhoneList";
    static let Action_Config_getsyncServerTime = "api/configuration/syncServerTime";

    static let Action_Aliyun_getSts = "api/aliyun/oss/getSts";
    static let Action_Aliyun_callback = "api/aliyun/oss/callback";

    static let Action_Search_logistics = "api/search/logistics";
    static let Action_Search_logisticsStatistics = "api/search/logisticsStatistics";
    //订单
    static let Action_Order_generateOrder = "api/order/generateOrder";
    static let Action_Order_getOrderList = "api/order/list";
    static let Action_Order_getOrderInfoByOrderSn = "api/order/detail";
    static let Action_Order_getOrderInfoByMailSn = "api/order/detailByMailSn";
    static let Action_Order_getOrderNum = "api/order/statusList";
    static let Action_Order_modify = "api/order/modifyOrder";
    static let Action_Order_screenCity = "api/order/screenCity";
    static let Action_Order_screenRegion = "api/order/screenRegion";

    static let Action_Print_updatePrint = "api/print/updatePrint";//更新打印状态
    static let Action_Print_getPrintInfo = "api/print/getPrintInfo";//获得打印信息
    static let Action_OrderOperate_warehousing = "api/orderOperate/warehousing";//入库
    static let Action_OrderOperate_sorting = "api/orderOperate/sorting";//分拣
    static let Action_OrderOperate_warehouseOut = "api/orderOperate/warehouseOut";//出库
    static let Action_OrderOperate_coloct = "api/orderOperate/receive";//揽收
    static let Action_OrderOperate_signed = "api/orderOperate/signFor";//签收
    static let Action_OrderOperate_rejection = "api/orderOperate/rejection";//
    static let Action_OrderOperate_cancel = "api/orderOperate/cancelOrder";//取消
    static let Action_OrderOperate_delete = "api/orderOperate/deleteOrder";//删除


    //支付
    static let Action_Pay_getPayType = "api/configuration/getPayType";//获取支付类型
    static let Action_Pay_getPayInfo = "api/pay/getPayInfo";//获取支付信息(支付方式/金额/QR image)
    static let Action_Pay_toPay = "api/pay/toPay";//完成支付动作(上传完支付图片，点击完成)
}
